package cn.anxingongyou.anxin.service;

import cn.anxingongyou.anxin.entity.Work;
import com.github.pagehelper.PageInfo;

import java.math.BigDecimal;

public interface WorkService {
    int insert(Work work);
    int deleteByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(Work work);
    Work  selectOne(Work work);
    Work  selectOneByPrimaryKey(Long id);
    PageInfo<Work> page(int pageNum, int pageSize , Work work);
    PageInfo<Work> search(int pageNum, int pageSize , Work work);
    PageInfo<Work> range(int pageNum, int pageSize , BigDecimal rangeLong, BigDecimal rangeLati, Work work);
}
